﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using TouchSocket.Http.WebSockets;
using WebSocketServer.WebSocketService.Message;

namespace WebSocketServer.WebSocketService.MessageHandlers
{
    public interface IMessageHandler
    {
        bool CanHandle(WebSocketData message);
        Task HandleAsync(IWebSocket socket, WebSocketData message);
    }
}
